package com.totem.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class ConversionChargeVO implements Serializable {
    @NotEmpty
    @Schema(description = "源币种")
    private String srcCurrency;
    @Schema(description = "目标币种")
    @NotEmpty
    private String dstCurrency;
    @Schema(description = "转化数量")
    @NotNull
    private BigDecimal conversionNum;


    @Schema(description = "实际到账")
    private BigDecimal amount;
    @Schema(description = "转化手续费")
    private BigDecimal charge;
}
